Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@contentful/f36-skeleton
Advanced tools
Skeleton is used to display a loading state in components.
import { Skeleton } from '@contentful/f36-components';
// or
import { Skeleton } from '@contentful/f36-skeleton';
Container
, BodyText
, DisplayText
, Image
, Row
.Skeleton.Container
to control color, background color, animation, opacity of the skeleton elements that are used inside.Skeleton.BodyText
component to simulate bodies of text with multiple lines.Skeleton.DisplayText
component to simulate headings, subheadings or titles.Skeleton.Image
component to simulate images, illustrations, avatars or icons.Skeleton.Row
component to simulate table rows. Only use this component as a child of the TableBody component. The Skeleton.Row
component renders <tr>
tags, and this HTML tag should always be a child of a <tbody>
tag.
columnCount
prop equal to the number of columns in your table (default value is 5).rowCount
prop equal to the number of rows you need.
Pass some value to the width
and height
props to make the skeleton the same size as the simulated image (default values are 70).
You can use the same values a normal <rect>
tag would accept for width
and height
Pass some value to the radiusX
and radiusY
props to control the roundness of skeleton's corners (default values are 0).
You can use the same values a normal <rect>
tag would accept for rx
and ry
FAQs
Forma 36: Skeleton component
We found that @contentful/f36-skeleton demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.